package com.wql.feign;

import com.aaa.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author wql
 * @version 1.0
 * @date 2023/3/6 10:51
 */

@FeignClient(value = "cai-homepage")
public interface OssFeign {
    @PostMapping(value = "/home/banner/upload",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
    Result updateload(MultipartFile file);
}
